package com.fxm.client;

import com.fxm.config.feign.VisitFeignConfig;
import com.fxm.returns.RespEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author fxm
 * @version V1.0.0
 * @description: 访问量统计 feign调用
 * @date 2021/02/25 09:29
 */
@FeignClient(name = "visitFeignClient", url = "${manage.url}", configuration = VisitFeignConfig.class)
public interface VisitClient {

    /**
     * 访问量统计
     * @return
     */
    @GetMapping("/visit/pv")
    RespEntity pageView();

}
